package shop.entity;

import java.util.Date;

public class Address {
	private int id;
	private int userId;
	private String address;
	private String tel;
	private String phone;
	private String postalCode;
	private String email;
	private String name;
	private String sign;
	private Date deliverTime;
	private Date createTime;
	private int isDefault;
	private String remark;
	public Address() {
		super();
	}
	public Address(int id, int userId, String address, String tel, String phone, String postalCode, String email,
			String name, String sign, Date deliverTime, Date createTime, int isDefault, String remark) {
		super();
		this.id = id;
		this.userId = userId;
		this.address = address;
		this.tel = tel;
		this.phone = phone;
		this.postalCode = postalCode;
		this.email = email;
		this.name = name;
		this.sign = sign;
		this.deliverTime = deliverTime;
		this.createTime = createTime;
		this.isDefault = isDefault;
		this.remark = remark;
	}
	public Address(int userId, String address, String tel, String phone, String postalCode, String email, String name,
			String sign, Date deliverTime, Date createTime, int isDefault, String remark) {
		super();
		this.userId = userId;
		this.address = address;
		this.tel = tel;
		this.phone = phone;
		this.postalCode = postalCode;
		this.email = email;
		this.name = name;
		this.sign = sign;
		this.deliverTime = deliverTime;
		this.createTime = createTime;
		this.isDefault = isDefault;
		this.remark = remark;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getPostalCode() {
		return postalCode;
	}
	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public Date getDeliverTime() {
		return deliverTime;
	}
	public void setDeliverTime(Date deliverTime) {
		this.deliverTime = deliverTime;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public int getIsDefault() {
		return isDefault;
	}
	public void setIsDefault(int isDefault) {
		this.isDefault = isDefault;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Override
	public String toString() {
		return "Address [id=" + id + ", userId=" + userId + ", address=" + address + ", tel=" + tel + ", phone=" + phone
				+ ", postalCode=" + postalCode + ", email=" + email + ", name=" + name + ", sign=" + sign
				+ ", deliverTime=" + deliverTime + ", createTime=" + createTime + ", isDefault=" + isDefault
				+ ", remark=" + remark + "]";
	}
	
	
}
